package com.webbei.HAO.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.webbei.HAO.service.ChSer;
import com.webbei.custom.service.CustomSer;
import com.webbei.pojo.Brands;

public class ShowCustom extends ActionSupport{
	private ChSer ser;
	private CustomSer cs;
    private List<Brands> list;
    private int productId = 1;
    private List bgpiclist;
	public String execute(){
		list=ser.list();
		bgpiclist=cs.getBgPic(productId);
    	return SUCCESS;
    }
	public List<Brands> getList() {
		return list;
	}
	public void setList(List<Brands> list) {
		this.list = list;
	}
	public void setSer(ChSer ser) {
		this.ser = ser;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public List getBgpiclist() {
		return bgpiclist;
	}
	public void setCs(CustomSer cs) {
		this.cs = cs;
	}
	
	
}
